package club.dataresources.mapper;

import club.dataresources.entity.ProductMenuDetail;
import club.dataresources.entity.ProductMenuDetailExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProductMenuDetailMapper {
    long countByExample(ProductMenuDetailExample example);

    int deleteByExample(ProductMenuDetailExample example);

    int deleteByPrimaryKey(Integer pmId);

    int insert(ProductMenuDetail record);

    int insertSelective(ProductMenuDetail record);

    List<ProductMenuDetail> selectByExample(ProductMenuDetailExample example);

    ProductMenuDetail selectByPrimaryKey(Integer pmId);

    int updateByExampleSelective(@Param("record") ProductMenuDetail record, @Param("example") ProductMenuDetailExample example);

    int updateByExample(@Param("record") ProductMenuDetail record, @Param("example") ProductMenuDetailExample example);

    int updateByPrimaryKeySelective(ProductMenuDetail record);

    int updateByPrimaryKey(ProductMenuDetail record);
}